{extend name="./indexmb" /}
{block name="setting_all_botton"}
<div class="layui-inline">
    <button class="layui-btn  layuiadmin-btn-useradmin layui-bg-blue" data-type="add">添加</button>
</div>
{/block}
{block name="setting_botton"}
<button type="button" onclick="data_delete({{d.id}})" class="layui-btn  layui-btn-sm layui-bg-red delete">删除
</button>
<button type="button" onclick="data_upload({{d.id}})" class="layui-btn  layui-btn-sm upload">编辑
</button>
<button type="button" onclick="data_view({{d.id}})" class="layui-btn  layui-btn-sm">详情
</button>
{/block}
{block name="check_input"}
<div class="layui-inline">
    <div class="layui-input-block">
        <input type="text" name="name" placeholder="剧本名称" autocomplete="off"
               class="layui-input">
    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-block">
        <select name="script_class_id" lay-filter="type">
            <option value="">剧本类型</option>
            {foreach $script_class as $k=>$v}
            <option value="{$v.id}">{$v.name}</option>
            {/foreach}
        </select>
    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-block">
        <select name="type" lay-filter="type">
            <option value="">来源</option>
            <option value="1">平台添加</option>
            <option value="2">门店添加</option>
        </select>
    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-block">
        <select name="script_setting_nd_id" lay-filter="type">
            <option value="">剧本难度</option>
            {foreach $script_setting_nd as $k=>$v}
            <option value="{$v.id}">{$v.name}</option>
            {/foreach}
        </select>
    </div>
</div>
<div class="layui-inline">
    <div class="layui-input-block">
        <select name="script_setting_xs_id" lay-filter="type">
            <option value="">剧本形式</option>
            {foreach $script_setting_xs as $k=>$v}
            <option value="{$v.id}">{$v.name}</option>
            {/foreach}
        </select>
    </div>
</div>
{/block}